﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - My ASP.NET Application</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")

</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                @Html.ActionLink("Application name", "Index", "Home", null, new { @class = "brand" })
                <ul class="nav">
                    <li class="active"><a href="#">Home</a></li>                    
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Catálogos <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li class="nav-header">Administrador</li>
                            <li>@Html.ActionLink("Administrador", "Index", "Administrador")</li>                            
                            <li>@Html.ActionLink("Tipo Administrador", "Index", "TipoAdministrador")</li>                            
                            <li class="divider"></li>
                            <li class="nav-header">Autoridad</li>
                            <li>@Html.ActionLink("Autoridad", "Index", "Autoridad")</li>                            
                            <li>@Html.ActionLink("Tipo Autoridad", "Index", "TipoAutoridad")</li>                            
                            <li class="divider"></li>
                            <li class="nav-header">Unidad</li>
                            <li>@Html.ActionLink("Tipo Unidad", "Index", "TipoUnidad")</li>                            
                            <li class="divider"></li>
                            <li class="nav-header">Ubicación</li>
                            <li>@Html.ActionLink("Estado", "Index", "Estado")</li>
                            <li>@Html.ActionLink("Municipio", "Index", "Municipio")</li>
                        </ul>
                    </li>
                </ul>           
                <div class="nav-collapse collapse">                    
                    @Html.Partial("_LoginPartial")
                </div>
            </div>
        </div>
    </div>
    <div class="container">
        @RenderBody()
        <hr />
        <footer>
            <p>&copy; @DateTime.Now.Year - My ASP.NET Application</p>
        </footer>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
